package com.eric.ztea.controller;

import javax.ws.rs.GET;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
public class ApiController {

	@GET
	@RequestMapping(value = "/version")
    public String version(){
        return "1.0";
    }
}
